﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core;

namespace COFE.Core.Profile
{
    public class NoUserManagementUserProfileManager : IUserProfileManager
    {
        #region Constructor

        public NoUserManagementUserProfileManager()
        {
            AdminUserProfile = new AdminUserProfile();
            CurrentUserProfile = AdminUserProfile;
        }

        #endregion

        #region Methods

        public void SetCurrentUserProfile(IUserProfile userProfile)
        {
            CurrentUserProfile = userProfile;
            CurrentUserProfileChanged(this, EventArgs.Empty);
        }

       

        #endregion

        #region Data

        #endregion

        #region Public Properties

        public IUserProfile AdminUserProfile { get; private set; }
        public IUserProfile CurrentUserProfile { get; private set; }

        public event EventHandler CurrentUserProfileChanged = (o,e) => { };

        #endregion









       
    }
}
